Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Data Namespace / IValueConverter<T> Interface / ConvertBack<T2> Method
The type to convert to.
The value that is produced by the binding target.
The converter parameter to use.


In This Topic
ConvertBack<T2> Method (IValueConverter<T>)
In This Topic
Converts a value.
Syntax
'Declaration
 
Function ConvertBack(Of T2)( _
   ByVal value As T, _
   ByVal parameter As Object _
) As T2
 
'Usage
 
Dim instance As IValueConverter(Of T)
Dim value As T
Dim parameter As Object
Dim value As T2
 
value = instance.ConvertBack(Of T2)(value, parameter)

Parameters

value
The value that is produced by the binding target.
parameter
The converter parameter to use.

Type Parameters

T2
The type to convert to.

Return Value

A converted value. If the method returns null, the valid null value is used.
Remarks
The data binding engine calls this method when it propagates a value from the binding target to the binding source.
See Also